<div class="sweet-alert showSweetAlert visible"  style="display: block; ">
<if condition="$msg.msg_type eq error">
    <div class="sa-icon sa-error animateErrorIcon" style="display: block;">
    <span class="sa-x-mark animateXMark">
    <span class="sa-line sa-left"></span>
    <span class="sa-line sa-right"></span>
    </span>
    </div>
<elseif condition="$msg.msg_type eq warning"/>    
    <div class="sa-icon sa-warning pulseWarning" style="display: block;">
    <span class="sa-body pulseWarningIns"></span>
    <span class="sa-dot pulseWarningIns"></span>
    </div>
<elseif condition="$msg.msg_type eq success"/>    
    
	<div class="sa-icon sa-success animate" style="display: block;">
      <span class="sa-line sa-tip animateSuccessTip"></span>
      <span class="sa-line sa-long animateSuccessLong"></span>

      <div class="sa-placeholder"></div>
      <div class="sa-fix"></div>
    </div>
        
<elseif condition="$msg.msg_type eq info"/>    
    <div class="sa-icon sa-info" style="display: block;"></div>
</if>    
    <notempty name="msg.msg_title"><h2>{$msg.msg_title}</h2></notempty>
    <notempty name="msg.msg_text"><p style="display: block;">{$msg.msg_text}</p></notempty>
    <notempty name="msg.msg_more">
        <div class="d_more_msg"  style="max-height:150px; ">
        {$msg.msg_more}
        </div>
    </notempty>
    <div class="sa-button-container">
        <button class="cancel  layer-close" tabindex="2"  style="display: none; box-shadow: none;">{:L('CANCEL')}</button>
        <div class="sa-confirm-button-container">
        <button class="confirm  layer-close" tabindex="1"  >{:L('CONFIRM')}</button>
        <div class="la-ball-fall">
          <div></div>
          <div></div>
          <div></div>
        </div>
        
        </div>
    </div>

</div>
<script>
$(document).ready(function () {
	$(".d_more_msg").mCustomScrollbar();
      //绑定关闭layer事件
    $(".layer-close").click(function (event) {   
      var i = $(event.target).closest("div").parents().find(".layui-layer:last").attr('times');
      layer.close(i);
    }); 
});

</script>